﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entities
{
    public class GopY
    {

        // properties
        private int maGopY;
        private String tieuDe;
        private String noiDung;
        private DateTime ngayGopY;
        private String linkMedia;


        // Getters and Setters
        public int MaGopY
        {
            get { return maGopY; }
            set { maGopY = value; }
        }
        

        public String TieuDe
        {
            get { return tieuDe; }
            set { tieuDe = value; }
        }
        

        public String NoiDung
        {
            get { return noiDung; }
            set { noiDung = value; }
        }
        

        public DateTime NgayGopY
        {
            get { return ngayGopY; }
            set { ngayGopY = value; }
        }
       

        public String LinkMedia
        {
            get { return linkMedia; }
            set { linkMedia = value; }
        }
        // Constructors

        public GopY()
        {

        }

        public GopY(int maGopY, String tieuDe, String noiDung, DateTime ngayGopY, 
            String linkMedia)
        {
            this.maGopY = maGopY;
            this.tieuDe = tieuDe;
            this.noiDung = noiDung;
            this.ngayGopY = ngayGopY;
            this.linkMedia = linkMedia;
        }
    }
}
